package com.linkai.onlinetool.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Comment)实体类
 *
 * @author 林凯
 * @since 2020-10-11 14:24:04
 */
public class Comment implements Serializable {
    private static final long serialVersionUID = -30129331194890745L;
    
    private Integer id;
    /**
    * 父评论id，没有的话默认就是0
    */
    private Integer fId;
    /**
    * 评论时的昵称
    */
    private String cNickname;
    /**
    * 评论的具体内容
    */
    private String cContent;
    /**
    * 评论时间
    */
    private Date gmtCreate;

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", fId=" + fId +
                ", cNickname='" + cNickname + '\'' +
                ", cContent='" + cContent + '\'' +
                ", gmtCreate=" + gmtCreate +
                '}';
    }

    public Comment() {
    }

    public Comment(Integer id, Integer fId, String cNickname, String cContent, Date gmtCreate) {
        this.id = id;
        this.fId = fId;
        this.cNickname = cNickname;
        this.cContent = cContent;
        this.gmtCreate = gmtCreate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFId() {
        return fId;
    }

    public void setFId(Integer fId) {
        this.fId = fId;
    }

    public String getCNickname() {
        return cNickname;
    }

    public void setCNickname(String cNickname) {
        this.cNickname = cNickname;
    }

    public String getCContent() {
        return cContent;
    }

    public void setCContent(String cContent) {
        this.cContent = cContent;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

}